﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Controls.Primitives;
using SilverFlow.Controls;

namespace EffectiveCapacityReport
{
    public partial class Report : FloatingWindow
    {        
        public Report()
        {
            InitializeComponent();

            EffectiveCapacity ec = new EffectiveCapacity();
            ReservoirCapacity rc = new ReservoirCapacity();
            LossesByDivision ld = new LossesByDivision();
            LossByMonth lm = new LossByMonth();

            

            LayoutRoot.Children.Add(ec);
            Grid.SetRow(ec, 1);
            Grid.SetColumn(ec, 0);

            LayoutRoot.Children.Add(rc);
            Grid.SetRow(rc, 1);
            Grid.SetColumn(rc, 1);

            LayoutRoot.Children.Add(ld);
            Grid.SetRow(ld, 2);
            Grid.SetColumn(ld, 0);

            LayoutRoot.Children.Add(lm);
            Grid.SetRow(lm,2);
            Grid.SetColumn(lm,1);

        }
    }
}
